package com.jin.crud;

import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

/**
 * @Author yuxuejin
 * @Date 2021/11/27 15:14
 * @Description: 测试类
 */
@SpringBootTest
@RunWith(SpringRunner.class)
public class test {

    //@Rule
    //public JUnitRestDocumentation restDocumentation = new JUnitRestDocumentation();
    //
    //private MockMvc mockMvc;
    //
    //@Autowired
    //private WebApplicationContext context;
    //
    ////@Resource
    ////private JwtAuthenticationTokenFilter authenticationTokenFilter;
    //
    //private String token;
    //
    //@Before
    //public void setUp() throws Exception {
    //    this.mockMvc = MockMvcBuilders.webAppContextSetup(this.context)
    //            .addFilter(authenticationTokenFilter)
    //            .apply(documentationConfiguration(this.restDocumentation))
    //            .build();
    //    loginBefore();
    //}

}
